package com.ccb.sc.common.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ccb.sc.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单评价
 * </p>
 *
 * @author ken
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_order_comment")
public class OrderComment extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 所属用户
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 包装评分
     */
    @TableField("package_score")
    private Integer packageScore;

    /**
     * 服务评分
     */
    @TableField("service_score")
    private Integer serviceScore;

    /**
     * 物流评分
     */
    @TableField("shipping_score")
    private Integer shippingScore;

    /**
     * 是否删除
     */
    @TableField("deleted")
    private Boolean deleted;


}
